<?php

namespace app\api\controller\company;
use app\shop\service\company\Team as TeamService;
/**
 * 团队风采
 */
class Team
{
    /**
     * 员工列表
     */
    public function classList(TeamService $TeamService)
    {
        return $TeamService->classList();
    }

    public function list(TeamService $TeamService)
    {
        $data = input();
        return $TeamService->list($data);
    }

    public function info(TeamService $TeamService)
    {
        $id = input('id');
        return $TeamService->detail($id);
    }
}